<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<title>moca</title>
</h:head>
<h:body>
	<h1>Postcard creation</h1>

	<form action="rest/postcard" method="post"
		enctype="multipart/form-data">
		<p>
			<input type="text" size="200" name="addresses" id="addresses" value='{"entities":[{"uuid":null,"receiver":"张桂林","postcode":"110041","province":"辽宁省","city":"沈阳市","district":"沈河区","addressLine1":"五爱街","addressLine2":"10号"}]}' />
		</p>
		<p>
			正面 : <input type="file" id="front" name="front" size="45" />
		</p>
		<p>
			背面祝福语 : <input type="file" id="wish" name="wish" size="45" />
		</p>
		<p>
			邮票 : <input type="file" id="stamp" name="stamp" size="45" />
		</p>
		<p>
			用户uuid : <input type="text" id="userUuid" name="userUuid" size="45" />
		</p>
		<input type="submit" value="Upload" />
	</form>
</h:body>
</html>